package com.wsl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

@Data
/**
 * 商品表
 */
public class Tb_item implements Serializable {
    @TableId(type = IdType.AUTO)
    //商品id，同时也是商品编号
    private Integer id;
    //商品标题
    private String title;
    //商品卖点
    private String sell_point;
    //商品价格，单位为：元
    private Double price;
    //
    private Integer stock_count;
    //库存数量
    private Integer num;
    //'商品条形码
    private String barcode;
    //商品图片
    private String image;
    //所属类目，叶子类目
    private Integer categoryId;
    //商品状态，1-正常，2-下架，3-删除
    private String status;
    //创建时间
    private String create_time;
    //更新时间
    private String update_time;
    //
    private String item_sn;
    private Double cost_pirce;
    private Double market_price;
    private String is_default;
    private Integer goods_id;
    private String seller_id;
    private String cart_thumbnail;
    private String category;
    private String brand;
    private String spec;
    private String seller;
}
